<style>
    .timeline-wrapper .timeline-row .timeline-item .timeline-icon{
        width: 44px;
        height: 44px;
    }
    .sbTable tr td {
        padding:  5px 0 5px 0;
    }
    .recycleGreen{
        color:green !important;
        border: 2px solid green !important;
    }
    a {
        cursor: pointer;
    }
</style>
<div  style="background-color: #f5f5f5" >
    <div  style="position:fixed;background-color: #f5f5f5;z-index: 999;margin-left: 10px;margin-right: 10px;padding-right: 40px;width: 100%">
        <h2 class="header-text" style="margin-bottom: 0px;">

            <span class="sub-header" id="total">
                    &nbsp;总共{{ infoArr | length }}条记录
             </span>
            <span  class="pull-right" >
                <a id="new" class="btn btn-primary " onclick="obj.funObj().openAddForm('{{ tag }}')"  >新建</a>
            </span>
        </h2>
    </div>
    <div class="row" style="height: 100%;padding-top: 120px;padding-left: 20px;padding-right: 20px;" >
        <div class="col-md-10">
            <ul  class="layui-timeline">
            {% if tag == 'lean' %}
                {% if infoArr | length > 0 %}
                    {% for i,item in infoArr %}
                        <li class="layui-timeline-item">
                            <i class="layui-icon layui-timeline-axis"></i>
                            <div class="layui-timeline-content layui-text">
                                <h3 class="layui-timeline-title">{{ item['sStartTime'] }}至{{ item['sEndTime'] }}  <a class="pull-right btn-sm" onclick="obj.funObj().delExperience({{ item['iSEId'] }})" style="color: red"><i class="fa fa-trash fa-md "></i>删除</a> <a class="pull-right btn-sm" onclick="obj.funObj().editForm('lean',{{ item['iSEId'] }})"><i class="fa fa-pencil fa-md "></i>编辑</a>  </h3>
                                <p style="font-size: medium">学校名称：{{ item['sName'] }}</p>
                                <p style="font-size: medium">学位：{{ item['sExtraName'] }}</p>
                                <p style="font-size: medium">专业：{{ item['sMajor'] }}</p>
                                <p>
                                    获得途径：<br>{{ item['mDesc'] }}
                                </p>
                                <hr>
                            </div>
                        </li>
                    {% endfor %}
                {% endif %}
            {% endif %}
            {% if tag == 'work' %}
                {% if infoArr | length > 0 %}
                    {% for i,item in infoArr %}
                        <li class="layui-timeline-item">
                            <i class="layui-icon layui-timeline-axis"></i>
                            <div class="layui-timeline-content layui-text">
                                <h3 class="layui-timeline-title">{{ item['sStartTime'] }}至{{ item['sEndTime'] }}  <a class="pull-right btn-sm" onclick="obj.funObj().delExperience({{ item['iSEId'] }})" style="color: red"><i class="fa fa-trash fa-md "></i>删除</a> <a class="pull-right btn-sm" onclick="obj.funObj().editForm('work',{{ item['iSEId'] }})"><i class="fa fa-pencil fa-md "></i>编辑</a>  </h3>
                                <p style="font-size: medium">公司名称：{{ item['sName'] }}</p>
                                <p style="font-size: medium">职位：{{ item['sExtraName'] }}</p>
                                <p style="font-size: medium">证明人：{{ item['sCertifier'] }} {% if item['sPhone'] %} ({{ item['sPhone'] }}) {% endif %}</p>
                                <p>离职原因:<br>
                                    {{ item['mDesc'] }}
                                </p>
                                <hr>
                            </div>
                        </li>
                    {% endfor %}
                {% endif %}
            {% endif %}
            {% if tag == 'item' %}
                {% if infoArr | length > 0 %}
                    {% for i,item in infoArr %}
                        <li class="layui-timeline-item">
                            <i class="layui-icon layui-timeline-axis"></i>
                            <div class="layui-timeline-content layui-text">
                                <h3 class="layui-timeline-title">{{ item['sStartTime'] }}至{{ item['sEndTime'] }}  <a class="pull-right btn-sm" onclick="obj.funObj().delExperience({{ item['iSEId'] }})" style="color: red"><i class="fa fa-trash fa-md "></i>删除</a> <a class="pull-right btn-sm" onclick="obj.funObj().editForm('item',{{ item['iSEId'] }})"><i class="fa fa-pencil fa-md "></i>编辑</a>  </h3>
                                <p style="font-size: medium">项目名称：{{ item['sName'] }}</p>
                                <p>描述:<br>
                                    {{ item['mDesc'] }}
                                </p>
                                <hr>
                            </div>
                        </li>
                    {% endfor %}
                {% endif %}
            {% endif %}
            {% if tag == 'contract' %}
                {% if infoArr | length > 0 %}
                    {% for i,item in infoArr %}
                        <li class="layui-timeline-item">
                            <i class="layui-icon layui-timeline-axis"></i>
                            <div class="layui-timeline-content layui-text">
                                <h3 class="layui-timeline-title">合同期限：{{ item['sStartTime'] }}至{{ item['sEndTime'] }}  <a class="pull-right btn-sm" onclick="obj.funObj().delExperience({{ item['iSEId'] }})" style="color: red"><i class="fa fa-trash fa-md "></i>删除</a> <a class="pull-right btn-sm" onclick="obj.funObj().editForm('contract',{{ item['iSEId'] }})"><i class="fa fa-pencil fa-md "></i>编辑</a>  </h3>
                                <p style="font-size: medium">合同名称：{{ item['sName'] }} ({{ item['sExtraName'] }})</p>
                                <p style="font-size: medium">领用状态：{{ item['sMajor'] }}</p>
                                <p>描述:<br>
                                    {{ item['mDesc'] }}
                                </p>
                                <hr>
                            </div>
                        </li>
                    {% endfor %}
                {% endif %}
            {% endif %}
            </ul>
        </div><!-- ./col -->
    </div><!-- ./row -->
</div><!-- ./padding-md -->